package com.crm.model.vo.returnMoney;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author yuanyunfeng
 * @date 2021/8/19 14:00
 */
@Data
public class ReturnMoneyExportModel extends BaseRowModel {


    //到款时间
    @ExcelProperty(value = "到款时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm",timezone="GMT+8")
    private Date arriveTime;

    //到款金额
    @ExcelProperty(value = "到款金额")
    private BigDecimal arriveMoney;

    //到款单位名称
    @ExcelProperty(value = "到款单位名称")
    private String arriveUnitName;

    //到款编号
    @ExcelProperty(value = "到款编号")
    private String arriveNum;

    //到款方式 0银行汇款 1现金
    @ExcelProperty(value = "到款方式")
    private String arriveMethodName;


    //付款单位名称
    @ExcelProperty(value = "付款单位")
    private String paymentUnitName;

    //付款账号
    @ExcelProperty(value = "付款账号")
    private String paymentAccount;

    //所属合同
    @ExcelProperty(value = "所属合同")
    private String contractId;

    //所属订单
    @ExcelProperty(value = "所属订单")
    private String orderId;

    //业务员名称(所有人)
    @ExcelProperty(value = "业务员名称")
    private String salesmanName;

    //创建时间
    @ExcelProperty(value = "创建时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm",timezone="GMT+8")
    private Date createTm;


}
